package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.entity.basics.BasicsEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author ptuDai
 * @since 2021-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user")
public class User extends BasicsEntity {

    private static final long serialVersionUID = 1L;
    @TableField(value = "name")
    private String name;
    @TableField(value = "user_name")
    private String userName;
    @TableField(value = "password")
    private String password;
    @TableField(value = "sex")
    private Integer sex;
    @TableField(value = "position_id")
    private Integer positionId;
    @TableField(value = "phone")
    private String phone;
    @TableField(value = "status")
    private Integer status;
    @TableField(value = "deleted")
    private Boolean deleted;
}
